#ifndef __TDRAWCROSS_H__
#define __TDRAWCROSS_H__

class TGiWorldDraw;

class TDrawCross
{
public:
	TDrawCross(MSXML2::IXMLDOMElementPtr pXML){m_pXML = pXML;};
	~TDrawCross(void);
	void DrawCross(TGiWorldDraw& dc) const;
protected:
	void DrawCrossOfC(TGiWorldDraw& dc) const;
	void DrawCrossOfT(TGiWorldDraw& dc) const;
	void DrawCrossOfP(TGiWorldDraw& dc) const;

	void DrawCrossForPlaneOfC(TGiWorldDraw& dc) const;
	void DrawCrossForSpaceOfC(TGiWorldDraw& dc) const;

	void DrawCrossForPlaneOfT(TGiWorldDraw& dc) const;
	void DrawCrossForSpaceOfT(TGiWorldDraw& dc) const;

	void DrawCube(TGiWorldDraw& dc, const AcGeVector3d& vtDir, const AcGePoint3dArray& ptArr, double dThick, long materialId = -1) const;
private:

	MSXML2::IXMLDOMElementPtr m_pXML;
};

#endif // __TDRAWCROSS_H__